import request from "../utils/request";

// 获取出款订单明细
export async function fetchPayLoanList(params) {
    return await request.post('transDetails/payOrderList', params)
}

// 获取回款订单明细
export async function fetchCollectionList(params) {
    return await request.post('transDetails/collectionOrderList', params)
}

// 出款明细推送
export async function payPushOrder(params) {
    return await request.post('transDetails/payOrderNotice', params)
}
// 出款明细批量推送
export async function payBatchPushOrder(params) {
    return await request.post('transDetails/payOrderBatchNotice', params)
}

// 出款变更状态
export async function payLoanStatus(params) {
    return await request.post('transDetails/payOrderUpdateStatus', params)
}

// 收款明细推送
export async function collectionPushOrder(params) {
    return await request.post('transDetails/collectionOrderNotice', params)
}
// 收款明细批量推送
export async function collectionBatchPushOrder(params) {
    return await request.post('transDetails/collectionOrderBatchNotice', params)
}

// 收款明细列表导出
export async function exportCollectionDetails(params) {
    return await request.post('transDetails/collectionOrderListExport', params)
}

// 出款明细列表导出
export async function exportLoanDetails(params) {
    return await request.post('transDetails/payOrderListExport', params)
}
// 打款订单查看凭证
export async function payLookVoucher(params) {
    return await request.post('transDetails/payOrderDesc', params)
}
